package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 团课列表对象 group_class
 * 
 * @author yuanML2018
 * @date 2025-01-04
 */
public class GroupClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 团课名称 */
    @Excel(name = "团课名称")
    private String title;

    /** 照片 */
    @Excel(name = "照片")
    private String photoUrl;

    /** 简介 */
    @Excel(name = "简介")
    private String description;

    /** 教练 */
    @Excel(name = "教练")
    private String coachName;

    /** 分类 */
    @Excel(name = "分类")
    private Long categoryId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date endTime;

    /** 难易程度 */
    @Excel(name = "难易程度 ")
    private String label;

    /** 标签 */
    @Excel(name = "标签")
    private String tag;

    /** 是否展示 */
    @Excel(name = "是否展示")
    private Long ifShow;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPhotoUrl(String photoUrl) 
    {
        this.photoUrl = photoUrl;
    }

    public String getPhotoUrl() 
    {
        return photoUrl;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCoachName(String coachName) 
    {
        this.coachName = coachName;
    }

    public String getCoachName() 
    {
        return coachName;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setIfShow(Long ifShow) 
    {
        this.ifShow = ifShow;
    }

    public Long getIfShow() 
    {
        return ifShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("photoUrl", getPhotoUrl())
            .append("description", getDescription())
            .append("coachName", getCoachName())
            .append("categoryId", getCategoryId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("label", getLabel())
            .append("tag", getTag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("ifShow", getIfShow())
            .toString();
    }
}
